<%--
  Created by IntelliJ IDEA.
  User: xyfwlbh
  Date: 13/9/2021
  Time: 上午 8:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>MainPage</title>
  </head>
  <body>
  <form action="mySecondServlet" method="post">
    <table>
      <tr>
        <td>
          <input type="text" name="username" placeholder="username"/>
        </td>
      </tr>
      <tr>
        <td>
          <input type="password" name="password" placeholder="password"/>
        </td>
      </tr>
      <tr>
        <td>
          <input type="submit" value="Login"/>
          <a href="mySecondServlet" style="text-decoration: none">registe</a>
        </td>
      </tr>
    </table>
  </form>
  <form action="myThirdServlet" method="get">
    <table>
      <tr>
        <td>
          <input type="text" name="username" placeholder="username"/>
        </td>
      </tr>
      <tr>
        <td>
          <input type="password" name="password" placeholder="password"/>
        </td>
      </tr>
      <tr>
        <td>
          <input type="submit" value="Login"/>
          <a href="mySecondServlet" style="text-decoration: none">registe</a>
        </td>
      </tr>
    </table>
  </form>
  </body>
</html>
